﻿namespace DataGridExtensions
{
    using JetBrains.Annotations;

    /// <summary>
    /// Interface to be implemented by a content filter factory.
    /// </summary>
    public interface IContentFilterFactory
    {
        /// <summary>
        /// Creates the content filter for the specified content.
        /// </summary>
        /// <param name="content">The content to create the filter for.</param>
        /// <returns>The new filter.</returns>
        [NotNull]
        IContentFilter Create([CanBeNull] object content);
    }
}
